package cn.zcf.org.mapper;

import cn.zcf.basic.mapper.BaseMapper;
import cn.zcf.org.domain.Emp;
import cn.zcf.org.query.EmpQuery;
import cn.zcf.system.domain.Menu;

import java.util.List;

public interface EmpMapper extends BaseMapper<Emp> {



    void saveEmployeeRole(Long id, Long role_id);

    void removeEmployeeRole(Long id);

    List<String> getPermissionsByLogininfoId(Long id);

    List<Menu> getMenusByLogininfoId(Long id);

    Emp loadByLoginInfoId(Long id);

    List<Emp> loadByShopId(Long shopId);
}
